package com.example.tests;

import org.testng.annotations.Test;

public class GroupCreationTests extends TestBase {
	@Test
	public void testValidGroupCanBeCreated() throws Exception {
		GroupObject validGroup = new GroupObject("Test", "Header Logo", "Comments");
		app.getGroupHelper().createGroup(validGroup);
		// ERROR: Caught exception [ERROR: Unsupported command [isTextPresent]]
	}
	
	@Test
	public void testGroupWithEmptyDataCanBeCreated() throws Exception {
		GroupObject emptyDataGroup = new GroupObject("", "", "");
		app.getGroupHelper().createGroup(emptyDataGroup);
		// ERROR: Caught exception [ERROR: Unsupported command [isTextPresent]]
	}
}
